﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             x:Class="NotificationPusher.App"
             >
    <Application.Resources>
        <Style TargetType="TextBlock" x:Key="LabelStyle">
            <Setter
                Property="FontSize"
                Value="10.667" />
            <Setter
                Property="FontFamily"
                Value="Segoe WP SemiLight" />
            <Setter
                Property="VerticalAlignment"
                Value="Center" />
            <Setter
                Property="Foreground"
                Value="Gray" />
            <Setter
                Property="Margin"
                Value="0,10,0,0" />
        </Style>
        <Style
            TargetType="TextBox"
            x:Key="InputStyle">
            <Setter
                Property="FontSize"
                Value="14.667" />
            <Setter
                Property="FontFamily"
                Value="Consolas" />
        </Style>
        <Style
            TargetType="TextBlock"
            x:Key="MessageStyle">
            <Setter
                Property="TextWrapping"
                Value="Wrap" />
            <Setter
                Property="MinHeight"
                Value="20" />
            <Setter
                Property="FontSize"
                Value="10" />
            <Setter
                Property="Foreground"
                Value="Gray" />
        </Style>
        <Style
            TargetType="Button"
            x:Key="SubmitStyle">
            <Setter
                Property="Width"
                Value="100" />
            <Setter
                Property="Height"
                Value="35" />
            <Setter
                Property="Margin"
                Value="0,15" />
            <Setter
                Property="HorizontalAlignment"
                Value="Left" />
        </Style>
        <Style
            x:Key="LinkStyle"
            TargetType="HyperlinkButton">
            <Setter
                Property="Padding"
                Value="5,2" />
            <Setter
                Property="Margin"
                Value="10,0,0,0" />
            <Setter
                Property="VerticalAlignment"
                Value="Center" />
            <Setter
                Property="Cursor"
                Value="Hand" />
            <Setter
                Property="Template">
                <Setter.Value>
                    <ControlTemplate
                        TargetType="HyperlinkButton">
                        <Grid
                            x:Name="ButtonGrid"
                            Cursor="{TemplateBinding Cursor}">
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup
                                    x:Name="LinkStates">
                                    <VisualState
                                        x:Name="ActiveLink">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames
                                                BeginTime="00:00:00"
                                                Duration="00:00:00.0010000"
                                                Storyboard.TargetName="ActiveBorder"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                                <EasingDoubleKeyFrame
                                                    KeyTime="00:00:00"
                                                    Value="1" />
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState
                                        x:Name="InactiveLink" />
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Border
                                x:Name="ActiveBorder"
                                BorderBrush="#73A9D8"
                                Margin="{TemplateBinding Padding}"
                                BorderThickness="0,0,0,1"
                                Opacity="0" />
                            <TextBlock
                                Style="{StaticResource LabelStyle}"
                                Text="{TemplateBinding Content}"
                                Foreground="#73A9D8"
                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                Margin="{TemplateBinding Padding}" />
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Application.Resources>
</Application>
